package server

import (
	"distributed/message"
	"distributed/parser"
)

var (
	seeds = []message.ReptileReq{
		{
			Method:   "GET",
			URL:      `https://music.163.com/discover/playlist`,
			Function: parser.HotPageParser,
		},
	}
)

func Seed() {
	taskChan = make(chan message.ReptileReq, 100)
	for _, v := range seeds {
		taskChan <- v
	}
}
